import { ApiProperty } from '@nestjs/swagger';
import { RequestPaginationDto } from 'src/dto/request-pagination.dto';
import { IsNotEmpty, IsString } from 'class-validator';

export class QueryWebsiteTypesDto extends RequestPaginationDto {
  // @IsString()
  // @IsNotEmpty()
  @ApiProperty({
    description: '网站类型名称',
    required: true,
  })
  name: string;

  // @IsString()
  @ApiProperty({
    description: '网站类型描述',
  })
  description: string;
}
